package br.edu.ufabc.gtrnp.helppo.persistence.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;


@Entity
@Table(name = "regions")
public class Regiao {

	@Id
	@Column(name = "uuid")
	private String uuid;

	@Column(name = "regionHandle")
	private long regionHandle;

	@Column(name = "regionName")
	private String regionName;

	@Column(name = "regionRecvKey")
	private String regionRecvKey;

	@Column(name = "regionSendKey")
	private String regionSendKey;

	@Column(name = "regionSecret")
	private String regionSecret;

	@Column(name = "regionDataURI")
	private String regionDataURI;

	@Column(name = "serverIP")
	private String serverIP;

	@Column(name = "serverPort")
	private int serverPort;

	@Column(name = "serverURI")
	private String serverURI;

	@Column(name = "locX")
	private int locX;

	@Column(name = "locY")
	private int locY;

	@Column(name = "locZ")
	private int locZ;

	@Column(name = "eastOverrideHandle")
	private long eastOverrideHandle;

	@Column(name = "westOverrideHandle")
	private long westOverrideHandle;

	@Column(name = "southOverrideHandle")
	private long southOverrideHandle;

	@Column(name = "northOverrideHandle")
	private long northOverrideHandle;

	@Column(name = "regionAssetURI")
	private String regionAssetURI;

	@Column(name = "regionAssetRecvKey")
	private String regionAssetRecvKey;

	@Column(name = "regionAssetSendKey")
	private String regionAssetSendKey;

	@Column(name = "regionUserURI")
	private String regionUserURI;

	@Column(name = "regionUserRecvKey")
	private String regionUserRecvKey;

	@Column(name = "regionUserSendKey")
	private String regionUserSendKey;

	@Column(name = "regionMapTexture")
	private String regionMapTexture;

	@Column(name = "serverHttpPort")
	private int serverHttpPort;

	@Column(name = "serverRemotingPort")
	private int serverRemotingPort;

	@Column(name = "owner_uuid")
	private String owner_uuid;

	@Column(name = "originUUID")
	private String originUUID;

	@Column(name = "access")
	private int access;
	
	@Transient
	private String status;
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public int getAccess() {
		return access;
	}

	public int getLocX() {
		return locX;
	}

	public int getLocZ() {
		return locZ;
	}

	public int getLocY() {
		return locY;
	}

	public long getEastOverrideHandle() {
		return eastOverrideHandle;
	}

	public long getNorthOverrideHandle() {
		return northOverrideHandle;
	}

	public String getOriginUUID() {
		return originUUID;
	}

	public String getOwner_uuid() {
		return owner_uuid;
	}

	public String getRegionAssetRecvKey() {
		return regionAssetRecvKey;
	}

	public String getRegionAssetSendKey() {
		return regionAssetSendKey;
	}

	public String getRegionAssetURI() {
		return regionAssetURI;
	}

	public String getRegionDataURI() {
		return regionDataURI;
	}

	public long getRegionHandle() {
		return regionHandle;
	}

	public String getRegionMapTexture() {
		return regionMapTexture;
	}

	public String getRegionName() {
		return regionName;
	}

	public String getRegionRecvKey() {
		return regionRecvKey;
	}

	public String getRegionSecret() {
		return regionSecret;
	}

	public String getRegionSendKey() {
		return regionSendKey;
	}

	public String getRegionUserRecvKey() {
		return regionUserRecvKey;
	}

	public String getRegionUserSendKey() {
		return regionUserSendKey;
	}

	public String getRegionUserURI() {
		return regionUserURI;
	}

	public int getServerHttpPort() {
		return serverHttpPort;
	}

	public String getServerIP() {
		return serverIP;
	}

	public int getServerPort() {
		return serverPort;
	}

	public int getServerRemotingPort() {
		return serverRemotingPort;
	}

	public String getServerURI() {
		return serverURI;
	}

	public long getSouthOverrideHandle() {
		return southOverrideHandle;
	}

	public String getUuid() {
		return uuid;
	}

	public long getWestOverrideHandle() {
		return westOverrideHandle;
	}

	public void setAccess(int access) {
		this.access = access;
	}

	public void setEastOverrideHandle(long eastOverrideHandle) {
		this.eastOverrideHandle = eastOverrideHandle;
	}

	public void setLocX(int locX) {
		this.locX = locX;
	}

	public void setLocY(int locY) {
		this.locY = locY;
	}

	public void setLocZ(int locZ) {
		this.locZ = locZ;
	}

	public void setNorthOverrideHandle(long northOverrideHandle) {
		this.northOverrideHandle = northOverrideHandle;
	}

	public void setOriginUUID(String originUUID) {
		this.originUUID = originUUID;
	}

	public void setOwner_uuid(String ownerUuid) {
		owner_uuid = ownerUuid;
	}

	public void setRegionAssetRecvKey(String regionAssetRecvKey) {
		this.regionAssetRecvKey = regionAssetRecvKey;
	}

	public void setRegionAssetSendKey(String regionAssetSendKey) {
		this.regionAssetSendKey = regionAssetSendKey;
	}

	public void setRegionAssetURI(String regionAssetURI) {
		this.regionAssetURI = regionAssetURI;
	}

	public void setRegionDataURI(String regionDataURI) {
		this.regionDataURI = regionDataURI;
	}

	public void setRegionHandle(long regionHandle) {
		this.regionHandle = regionHandle;
	}

	public void setRegionMapTexture(String regionMapTexture) {
		this.regionMapTexture = regionMapTexture;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

	public void setRegionRecvKey(String regionRecvKey) {
		this.regionRecvKey = regionRecvKey;
	}

	public void setRegionSecret(String regionSecret) {
		this.regionSecret = regionSecret;
	}

	public void setRegionSendKey(String regionSendKey) {
		this.regionSendKey = regionSendKey;
	}

	public void setRegionUserRecvKey(String regionUserRecvKey) {
		this.regionUserRecvKey = regionUserRecvKey;
	}

	public void setRegionUserSendKey(String regionUserSendKey) {
		this.regionUserSendKey = regionUserSendKey;
	}

	public void setRegionUserURI(String regionUserURI) {
		this.regionUserURI = regionUserURI;
	}

	public void setServerHttpPort(int serverHttpPort) {
		this.serverHttpPort = serverHttpPort;
	}

	public void setServerIP(String serverIP) {
		this.serverIP = serverIP;
	}

	public void setServerPort(int serverPort) {
		this.serverPort = serverPort;
	}

	public void setServerRemotingPort(int serverRemotingPort) {
		this.serverRemotingPort = serverRemotingPort;
	}

	public void setServerURI(String serverURI) {
		this.serverURI = serverURI;
	}

	public void setSouthOverrideHandle(long southOverrideHandle) {
		this.southOverrideHandle = southOverrideHandle;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public void setWestOverrideHandle(long westOverrideHandle) {
		this.westOverrideHandle = westOverrideHandle;
	}
}
